package com.ruoyi.project.NH.average_income_comparison.mapper;

import java.util.List;
import com.ruoyi.project.NH.average_income_comparison.domain.AverageIncomeInfo;

/**
 * 户收入对比Mapper接口
 * 
 * @author 狗熊岭
 * @date 2023-08-05
 */
public interface AverageIncomeInfoMapper {
    /**
     * 查询户收入对比
     *
     * @param fid 户收入对比主键
     * @return 户收入对比
     */
    public AverageIncomeInfo selectAverageIncomeInfoByFid(String fid);

    /**
     * 查询户收入对比列表
     *
     * @param averageIncomeInfo 户收入对比
     * @return 户收入对比集合
     */
    public List<AverageIncomeInfo> selectAverageIncomeInfoList(AverageIncomeInfo averageIncomeInfo);

    /**
     * 获取最大年度
     *
     * @return 年均收入
     */
    public Integer getMaxReportYear();
}


